package com.cloudft.http.models;

import java.util.List;

import org.apache.http.NameValuePair;

import com.cloudft.http.config.CacheConfig;

/**
 * HTTP Request model class with getter and setter methods for url, requestType, contentType
 * isCacheable, cacheConfig, postParams
 */
public class HTTPRequest {

	String 				url;
	String 				requestType;
	String 				contentType;
	Boolean 			isCacheable;
	CacheConfig			cacheConfig;
	List<NameValuePair> postParams;
	Boolean				gzipDisabled;
	
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getRequestType() {
		return requestType;
	}
	public void setRequestType(String requestType) {
		this.requestType = requestType;
	}
	public String getContentType() {
		return contentType;
	}
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}
	public Boolean getIsCacheable() {
		return isCacheable;
	}
	public void setIsCacheable(Boolean isCacheable) {
		this.isCacheable = isCacheable;
	}
	public CacheConfig getCacheConfig() {
		return cacheConfig;
	}
	public void setCacheConfig(CacheConfig cacheConfig) {
		this.cacheConfig = cacheConfig;
	}
	public List<NameValuePair> getPostParams() {
		return postParams;
	}
	public void setPostParams(List<NameValuePair> postParams) {
		this.postParams = postParams;
	}
	public Boolean getGzipDisabled() {
		return gzipDisabled;
	}
	public void setGzipDisabled(Boolean gzipDisabled) {
		this.gzipDisabled = gzipDisabled;
	}
	
}
